package org.subject.entity;

import java.util.Date;

public class User {
    private Long userId;

    private String userNumber;

    private String userPassword;

    private String userName;

    private String userSex;

    private String userProfession;

    private String userClass;

    private String userPhone;

    private String userEmail;

    private Integer userRole;

    private String userHead;

    private String userState;

    private String userRemark;

    private Date createTime;

    private Long facultyId;

    public User(Long userId, String userNumber, String userPassword, String userName, String userSex, String userProfession, String userClass, String userPhone, String userEmail, Integer userRole, String userHead, String userState, String userRemark, Date createTime, Long facultyId) {
        this.userId = userId;
        this.userNumber = userNumber;
        this.userPassword = userPassword;
        this.userName = userName;
        this.userSex = userSex;
        this.userProfession = userProfession;
        this.userClass = userClass;
        this.userPhone = userPhone;
        this.userEmail = userEmail;
        this.userRole = userRole;
        this.userHead = userHead;
        this.userState = userState;
        this.userRemark = userRemark;
        this.createTime = createTime;
        this.facultyId = facultyId;
    }

    public User() {
        super();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber == null ? null : userNumber.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex == null ? null : userSex.trim();
    }

    public String getUserProfession() {
        return userProfession;
    }

    public void setUserProfession(String userProfession) {
        this.userProfession = userProfession == null ? null : userProfession.trim();
    }

    public String getUserClass() {
        return userClass;
    }

    public void setUserClass(String userClass) {
        this.userClass = userClass == null ? null : userClass.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Integer getUserRole() {
        return userRole;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public String getUserHead() {
        return userHead;
    }

    public void setUserHead(String userHead) {
        this.userHead = userHead == null ? null : userHead.trim();
    }

    public String getUserState() {
        return userState;
    }

    public void setUserState(String userState) {
        this.userState = userState == null ? null : userState.trim();
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark == null ? null : userRemark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getFacultyId() {
        return facultyId;
    }

    public void setFacultyId(Long facultyId) {
        this.facultyId = facultyId;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userNumber='" + userNumber + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userProfession='" + userProfession + '\'' +
                ", userClass='" + userClass + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userEmail='" + userEmail + '\'' +
                ", userRole=" + userRole +
                ", userHead='" + userHead + '\'' +
                ", userState='" + userState + '\'' +
                ", userRemark='" + userRemark + '\'' +
                ", createTime=" + createTime +
                ", facultyId=" + facultyId +
                '}';
    }
}